//od_printf("\n\r\n`bright red`I`red`t will cost ya `bright green`%d`red` to get keys to his room ... Do it?(`bright red`Y`red`/`bright red`N`red`)",intval);
//od_printf("\n\r\n`bright red`I`red`t will cost ya `bright green`%d`red` to get keys to his room ... Do it?(`bright red`Y`red`/`bright red`N`red`)",intval);
// od_printf("\n\r\n`bright white`You had yer ass kicked ... oh well that happens\n\rCome back tomorrow to get revenge ...\n\rYa lost 8%c of yer points\n\r",37);
if (user_on->drug>=COKE) def_s-=random(user_on->drug_days_since * pow(user_on->drug_addiction,1.2))/60;
if (def_s<0) def_s=0;
def_s/=2;
en_hit_s-=def_s;
if (en_hit_s<0) en_hit_s=0;
ny_disp_emu("\n\r\n`0");
ny_disp_emu(erec.name);
ny_line(211,0,0);
od_printf(D_Num(en_hit_s));
ny_line(210,0,0);
user_on->hitpoints-=en_hit_s;
wrt_sts();
if (user_on->hitpoints<=0) {
od_printf("\n\r\n");
ny_send_menu(ASS_KICKED_P,"");
//od_printf("\n\r\n`bright white`You had yer ass kicked ... oh well that happens\n\rCome back tomorrow to get revenge ...\n\rYa lost 8%c of yer points\n\r",37);
// od_printf("\n\r\n`bright red`P`red`oisoning water will cost ya `bright red`%s`red` ... Do it(`bright red`Y`red`/`bright red`N`red`)",D_Num(intval));
ny_line(251,0,0);
key=ny_get_answer("YN");
if(!rip) od_putch(key);
if (key=='Y' && cur_user->poison<=0) {
ny_line(182,2,1);
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
} else if (key=='Y') {
if (cur_user->money < intval) {
ny_line(252,2,1);
// od_printf("\n\r\n`bright red`Y`red`a cant afford it man...\n\r");
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
} else {
money_minus(intval);
ny_line(253,2,1);
//od_printf("\n\r\n`bright red`Y`red`ou buy enough poison and dump it into the water...\n\r");
cur_user->poison--;
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
chance=random(100);
if (chance<=busted_ch_poison) {
od_printf("\n\r\n");
ny_send_menu(BUSTED,"");
//od_printf("\n\r\n`bright white`BUSTED!!!! .... well the police beat the hell out of you .....");
//od_printf("\n\rWhy don't you try again tomorrow...\n\r");
//od_printf("Ya lost 2%c of yer points!\n\r",37);
cur_user->alive=UNCONCIOUS;
points_loose(cur_user->points*.02);
news_post("poisoning water",cur_user->name,"",2);
if(!rip)
WaitForEnter();
else
od_get_answer("\n\r");
od_exit(10,FALSE);
} else {
chance=random(100);
if (chance<=success_ch_poison) {
ny_line(254,2,1);
if(rip) od_get_answer("\n\r");
//od_printf("\n\r\n`bright red`W`red`ow lotsa dead folks ... It worked ...\n\r");